import { request } from "@/utils/request";

// 藏品认证
export const certificationAdd = (data: any = {}) => {
  return request({
    url: "/certification/add",
    method: "POST",
    data,
  });
};

export const commodityCollectionList = (data: any = {}) => {
  return request({
    url: "/commodity/collectionList",
    method: "POST",
    data,
  });
};

export const commodityAddCollection = (data: any = {}) => {
  return request({
    url: "/commodity/addCollection",
    method: "POST",
    data,
  });
};

export const commodityEditCollection = (data: any = {}) => {
  return request({
    url: "/commodity/editCollection",
    method: "POST",
    data,
  });
};

export const commodityRemoveCollection = (data: any = {}) => {
  return request({
    url: "/commodity/removeCollection",
    method: "POST",
    data,
  });
};
